using System.ComponentModel.DataAnnotations;

namespace TCEntity
{
  public class User
  {
    [Key]
    public string Username { get; set; }
    public string Password { get; set; }

    public int[] imageFavor = new int[5];//目前bool[0]代表人物，bool[1]代表风景,bool[2]代表动物，bool[3]代表汽车，
                                         //bool[4]代表动漫。
    public User(string Username,string Password)
    {
      this.Username = Username;
      this.Password = Password;
      for (int a = 0; a < imageFavor.Length; a++)
      {
        imageFavor[a] = 0;
      }
    }
  }
}
